package edu.jsnu.operate.controller.ticket;

import edu.jsnu.operate.controller.ticket.common.AbstractController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("ticket/index")
public class IndexController extends AbstractController {

    /**
     * 后台首页
     * @return
     */
    @RequestMapping("index.page")
    public String index(){
        return "index";
    }

    /**
     * 后台系统控制台首页
     * @return
     */
    @RequestMapping("console.page")
    public String console(){

        return "ticket/lib/console/console";
    }

}
